Ninja Database Pro has the ability to save the database to the My Documents directory when running Silverlight 4 in Out of Browser Mode. The user must have elevated permissions. Here is an example of using a database in out of browser mode:
NinjaDbPro database; // If running out of browser with elevated permissions, use standard file system in My Documents rather // than Isolated Storage which is the default. if (Application.Current.IsRunningOutOfBrowser && Application.Current.HasElevatedPermissions)
{
database =
new NinjaDbPro(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "MyDatabaseDirectory"), "MyDatabaseName");database.Storage =
new MyDocumentsDatabase();}
else{
database =
new NinjaDbPro("MyDatabaseDirectory", "MyDatabaseName");}